﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Zeus.Ladon.Web.Controllers
{
    public class PageController : Controller
    {
        public ActionResult Link(string category, string tech, string page)
        {
            string url = "/Views/" + category + "/" + tech
                       + "/" + page + ".cshtml";

            ViewBag.CurrentCategory = category;
            ViewBag.CurrentTech = tech;
            ViewBag.CurrentPage = page;

            return View(url);
        }
    }
}
